package cn.yl.course.server.entity;

import cn.yl.api.server.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 讲师表
 * </p>
 *
 * @author yl
 * @since 2022-04-22
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("teacher")
@ApiModel(value = "Teacher对象", description = "讲师表")
public class Teacher extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("课程ID")
    @TableField("course_id")
    private Integer courseId;

    @ApiModelProperty("讲师姓名")
    @TableField("teacher_name")
    private String teacherName;

    @ApiModelProperty("职务")
    @TableField("position")
    private String position;

    @ApiModelProperty("讲师介绍")
    @TableField("description")
    private String description;

    @ApiModelProperty("是否删除")
    @TableField("is_del")
    @TableLogic
    private Boolean del;


}
